package com.indusfo.spc.service.impl;

import com.indusfo.spc.mapper.RoleMenuMapper;
import com.indusfo.spc.pojo.RoleMenu;
import com.indusfo.spc.service.RoleMenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author chenm
 * @create 2019-11-20 14:34
 */
@Service
public class RoleMenuServiceImpl implements RoleMenuService {

  @Resource
  private RoleMenuMapper roleMenuMapper;

  @Override
  public List<RoleMenu> selectByRoleId(Integer roleId) {
    return roleMenuMapper.selectByRoleId(roleId);
  }
}
